<template>
	<view>
		<div id="user_data">
			<div class="basic">
				<li class="data" @click="changeword()">
					<span>修改密码</span>
					<!-- <i class="am-icon-chevron-right"></i> -->
					<image src="https://yo.docshare.org.cn/static/tubiao/gengduo.png" mode="" style="width: 15px;height: 15px;"></image>
					<div class="clear"></div>
				</li>
				<li class="data" @click="userdata()">
					<span>更改信息</span>
					<!-- <i class="am-icon-chevron-right"></i> -->
					<image src="https://yo.docshare.org.cn/static/tubiao/gengduo.png" mode="" style="width: 15px;height: 15px;"></image>
					<div class="clear"></div>
				</li>
				<li class="data" @click="soscard()">
					<span>填写紧急求助信息</span>
					<!-- <i class="am-icon-chevron-right"></i> -->
					<image src="https://yo.docshare.org.cn/static/tubiao/gengduo.png" mode="" style="width: 15px;height: 15px;"></image>
					<div class="clear"></div>
				</li>
				<div id="app">
					<div class="uni-btn-v">
						<div class="done" @click="submit()">退出登录</div>
					</div>
				</div>
			</div>
		</div>
		</div>
	</view>
</template>

<script>
	import config from '@/config'
	export default {
		data() {
			return {
				sr: '',
				pwd: '',
				fd: {}
			}
		},
		methods: {
			backuser_center: function() {
				uni.navigateTo({ //返回个人中心页面
					url: 'user_center',
				});
			},
			submit: function() {
				uni.clearStorage();
				uni.reLaunch({ //注销跳转登录页面
					url: '../../../pages/login/login',
				});

			},
			changeword: function() {
				uni.navigateTo({ //跳转修改密码页面
					url: 'changeword',
				});
			},
			userdata: function() {
				uni.navigateTo({ //
					url: 'user_data',
				});
			},
			soscard: function() {
				uni.navigateTo({ //跳转更改紧急求助信息页面
					url: 'card',
				});
			},
		}
	}
</script>

<style>

</style>
